// 6.9 枚举类型
// 原理

public class EnumOrder {
    public static void main(String[] args) {
        for(Spiciness s: Spiciness.values())
            System.out.println(
                    s + ", ordinal " + s.ordinal());
    }
}
